#ifndef __BALLADE_INPUT_STREAM_H__
#define __BALLADE_INPUT_STREAM_H__

#pragma once

#include <ballade/util.h>

#include <ballade/network/config.h>
#include <ballade/network/socket_error.h>

namespace Ballade
{
	namespace Network
	{
		
		class NETWORK_API InputStream
		{
		public:
			InputStream();
			InputStream(const int sock);
			~InputStream();
			
			virtual const int read(char *buf, const int len) const throw (SocketError) ;
			
		protected:
			static Util::Logger &Logger_;
			
		private:
			int _sock;
		};

	}
}
#endif